package com.tuanzhang.mall.goods.infrastructure.repository.impl;

import com.tuanzhang.mall.goods.domain.aggregate.Spu;
import com.tuanzhang.mall.goods.domain.valueobj.SpuCode;
import com.tuanzhang.mall.goods.infrastructure.repository.SpuRepository;
import com.tuanzhang.mall.seller.domain.aggregate.Seller;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class MockSpuRepository implements SpuRepository {
    @Override
    public void save(Spu spu) {

    }

    @Override
    public void saveOrUpdate(Spu spu) {

    }

    @Override
    public Spu findBySpuCode(SpuCode spuCode) {
        return null;
    }

    @Override
    public List<Spu> batchQuery(List<SpuCode> spuCodes) {
        return null;
    }

    @Override
    public void delete(SpuCode spuCode) {

    }

    @Override
    public void update(Spu spu) {

    }

    @Override
    public boolean exists(SpuCode spuCode) {
        return false;
    }

    @Override
    public int getRecommentCount(SpuCode spuCode) {
        return 0;
    }
}
